package ypmits.components.listbox.input {
	import ypmits.components.listbox.IListBox;

	/**
	 * @author Dave Lenz
	 */
	public class ListBoxInput {

		public var width : Number = 250;
		public var height : Number = 250;
		public var title : String = "{{Title}}";
		public var titlealign : String = "left";
		public var spacearoundscrollbar : Number = 3;
		public var filterchooser : IListBox;
		public var buttons : Array = null;
		public var background : Boolean = true;
		public var backgroundcolor : uint = 0xFFFFFF;
		public var backgroundalpha : Number = 1;
		public var border : Boolean = true;
		public var bordercolor : uint = 0x000000;
		public var closebutton : Boolean = false;
		public var resizable : Boolean = false;

		
		
		public function ListBoxInput() {
			
			if ( ( buttons != null ) && ( buttons.length > 0 ) ) {
				if( spacearoundscrollbar <= 3 ) {
					spacearoundscrollbar = 100;
				}
			} else {
				spacearoundscrollbar = 3;
			}
		}
	}
}
